﻿using BlockOS.Console;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BlockOS.Client.Commands
{
    public class SayCommand : Command
    {
        public SayCommand() : base(2) { }

        public override IEnumerator Call(IGame game, string[] parameters)
        {
            game.Console.PutMessage($"{parameters[0]}:{parameters[1]}");
            yield return null;
        }
    }
}
